package cn.wolfcode.p2p.business.service;

import cn.wolfcode.p2p.business.domain.BidRequest;
import cn.wolfcode.p2p.business.domain.PaymentSchedule;
import cn.wolfcode.p2p.business.domain.PaymentScheduleDetail;

/**
 * 收款计划
 */
public interface IPaymentScheduleDetailService {
    /**
     * @param ps 还款计划
     * @param br 借款对象
     */
    void createPaymentScheduleDetail(PaymentSchedule ps, BidRequest br);

    /**
     * 修改收款计划
     * @param psd
     */
    void update(PaymentScheduleDetail psd);

    /**
     * 根据投标的id批量修改收款计划的债权转让状态
     * @param bidIds
     * @param transferState
     */
    void batchUpdateTransferState(Long[] bidIds, int transferState);
}
